<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php echo $html->charset('utf8'); ?>
<title><?php echo $title_for_layout; ?></title>
<?php echo $html->css(array('layout')); ?>
<?php
    if($session->check('Auth.User.theme'))
        $theme = $session->read('Auth.User.theme').'/jquery-ui-1.7.2.custom';
    else
        $theme = 'ui-lightness/jquery-ui-1.7.2.custom';
    echo $html->css(array('button', $theme)); ?>
<?php echo $scripts_for_layout; ?>
</head>

<body>

<div class="header">
</div>
	<!-- Here's where I want my views to be displayed --> 
	<?php echo $content_for_layout ?>   
	<!-- Add a footer to each displayed page --> 

<div class="footer"></div>

</body>
</html>
 
